package com.nami.store.biz.groupmembs.service;

import com.nami.store.api.request.grpmember.GrpMemberAddReq;
import com.nami.store.api.response.groupmember.GroupMemberDTO;

import java.util.List;
import java.util.Map;

public interface GrpMembDomainService {


    boolean batchSave(List<GrpMemberAddReq> addRequests);

    GroupMemberDTO getGrpMembersByGrpIdAndUserId(String grpId, String userId);

    List<GroupMemberDTO> getGrpMembers(String grpId);

    List<GroupMemberDTO> getGrpMembersExceptMe(String grpId, String userId);

    List<GroupMemberDTO> getGrpMembsByGrpIdAndUserIds(String grpId, List<String> userIds);

    Map<String, GroupMemberDTO> getGrpMembsByUserIds(String grpId, List<String> userIds);
}
